﻿using Xtensive.Orm;

namespace TypeDiscriminator.Model
{
    [TypeDiscriminatorValue("movie")]
    public class Movie : Product
    {
        [Field]
        public string Director { get; set; }

        [Field]
        public int Duration { get; set; }

        public Movie(Session session)
            : base(session)
        {
        }
    }
}
